include $(com_mk_header)


$(eval $(call auto_make_local_var,monitor))

OBJCOPY:=objcopy
OBJCOPY_OPT:=-S -O binary

monitor.bin:monitor
	$(OBJCOPY) $(OBJCOPY_OPT) monitor monitor.bin


monitor:$(monitor_objs) monitor.lds
	$(LINKER) $(LINKER_OPT)

%.o:%.s
	$(AS) $(COMPILER_OPT) $@ $<

$(monitor_aobjs):%.s:%.c
	$(COMPLIER)  $(COMPILER_OPT) $@ $^
# end of file